Package com.cisco.pt.ipc.sim.impl
Class NFExporterManagerImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.NFExporterManagerImpl
- All Implemented Interfaces:
IPCObject,NFExporterManager
Information provided by the PKI file:
\class NFExporterManager
\brief NFExporterManager manages different NetFlow exporters configured on routers.
\example network().getDevice("Router0").getNetflowExporterManager()
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionNFExporterManagerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptioncreateNFExporter(String exporterName) Information provided by the PKI file:getNFExporterAt(int index) Information provided by the PKI file:getNFExporterByIpAndPort(IPAddress ipAddr, int udpPort) Information provided by the PKI file:getNFExporterByName(String name) Information provided by the PKI file:intInformation provided by the PKI file:voidremoveNFExporter(String exporterName) Information provided by the PKI file:voidremoveNFExporterAt(int index) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
NFExporterManagerImpl
public NFExporterManagerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
createNFExporter
Information provided by the PKI file:
\brief Creates a NetFlow exporter with the specified name. \param exporterName, the name for the NetFlow exporter. \return NFExporter, the NFExporter object of the created NetFlow exporter.- Specified by:
createNFExporterin interfaceNFExporterManager- Parameters:
exporterName- Takes in a parameter of exporterName- Returns:
- NFExporter Returns a NFExporter
-
removeNFExporter
Information provided by the PKI file:
\brief Removes the NetFlow exporter with the specified name. \param exporterName, the name of the NetFlow exporter of interest.- Specified by:
removeNFExporterin interfaceNFExporterManager- Parameters:
exporterName- Takes in a parameter of exporterName
-
getNFExporterAt
Information provided by the PKI file:
\brief Returns the NetFlow exporter at the specified index. \param index, the index of the NetFlow exporter of interest. \return NFExporter, the NFExporter object at the specified index.- Specified by:
getNFExporterAtin interfaceNFExporterManager- Parameters:
index- Takes in a parameter of index- Returns:
- NFExporter Returns a NFExporter
-
getNFExporterByName
Information provided by the PKI file:
\brief Returns the NetFlow exporter with the specified name. \param name, the name of the NetFlow exporter of interest. \return NFExporter, the NFExporter object with the specified name.- Specified by:
getNFExporterByNamein interfaceNFExporterManager- Parameters:
name- Takes in a parameter of name- Returns:
- NFExporter Returns a NFExporter
-
getNFExporterByIpAndPort
Information provided by the PKI file:
\brief Returns the NetFlow exporter with the specified IP address and UDP port number. \param ipAddr, the IP address of the NetFlow exporter of interest. \param udpPort, the UDP port number of the NetFlow exporter of interest. \return NFExporter, the NFExporter object with the specified name.- Specified by:
getNFExporterByIpAndPortin interfaceNFExporterManager- Parameters:
ipAddr- Takes in a parameter of ipAddrudpPort- Takes in a parameter of udpPort- Returns:
- NFExporter Returns a NFExporter
-
removeNFExporterAt
public void removeNFExporterAt(int index) Information provided by the PKI file:
\brief Removes the NetFlow exporter at the specified index. \param index, the index of the NetFlow exporter of interest.- Specified by:
removeNFExporterAtin interfaceNFExporterManager- Parameters:
index- Takes in a parameter of index
-
getNFExporterCount
public int getNFExporterCount()Information provided by the PKI file:
\brief Returns the number of NetFlow exporters. \return int, the number of NetFlow exporters.- Specified by:
getNFExporterCountin interfaceNFExporterManager- Returns:
- int Returns a int
-